#
# CPL Assignment 2
# Tim Caljé, Jeroen De Raedt & Jorick Van Aken
#
class VersionInterpreter
  @version = false
  
  def initialize(versionDao)
    @versionDao = versionDao
  end
  
  def version
    @version = true
    self
  end
  
  def query
    if(@version)
      return @versionDao.getVersion().to_s
    end
  end
  
end